<?php
$selected = !empty($_GET['selected'])?$_GET['selected'] : 0;
$selected = explode(',',$selected);
$rs = cat_list($result,0,$selected,true,3,false);
echo $rs;
?>